<?xml version="1.0" encoding="utf-8"?>
<!--
                                                                                     
 h       t     t                ::       /     /                     t             / 
 h       t     t                ::      //    //                     t            // 
 h     ttttt ttttt ppppp sssss         //    //  y   y       sssss ttttt         //  
 hhhh    t     t   p   p s            //    //   y   y       s       t          //   
 h  hh   t     t   ppppp sssss       //    //    yyyyy       sssss   t         //    
 h   h   t     t   p         s  ::   /     /         y  ..       s   t    ..   /     
 h   h   t     t   p     sssss  ::   /     /     yyyyy  ..   sssss   t    ..   /     
                                                                                     
	<https://y.st./>
	Copyright © 2017 Alex Yst <mailto:copyright@y.st>

	This program is free software: you can redistribute it and/or modify
	it under the terms of the GNU General Public License as published by
	the Free Software Foundation, either version 3 of the License, or
	(at your option) any later version.

	This program is distributed in the hope that it will be useful,
	but WITHOUT ANY WARRANTY; without even the implied warranty of
	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
	GNU General Public License for more details.

	You should have received a copy of the GNU General Public License
	along with this program. If not, see <https://www.gnu.org./licenses/>.
-->
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<base href="https://y.st./en/weblog/2017/07-July/11.xhtml" />
		<title>A potential host, an eye injury, and a catching-up &lt;https://y.st./en/weblog/2017/07-July/11.xhtml&gt;</title>
		<link rel="icon" type="image/png" href="/link/CC_BY-SA_4.0/y.st./icon.png" />
		<link rel="stylesheet" type="text/css" href="/link/basic.css" />
		<link rel="stylesheet" type="text/css" href="/link/site-specific.css" />
		<script type="text/javascript" src="/script/javascript.js" />
		<meta name="viewport" content="width=device-width" />
	</head>
	<body>
		<nav>
			<p>
				<a href="/en/">Home</a> |
				<a href="/en/a/about.xhtml">About</a> |
				<a href="/en/a/contact.xhtml">Contact</a> |
				<a href="/a/canary.txt">Canary</a> |
				<a href="/en/URI_research/"><abbr title="Uniform Resource Identifier">URI</abbr> research</a> |
				<a href="/en/opinion/">Opinions</a> |
				<a href="/en/coursework/">Coursework</a> |
				<a href="/en/law/">Law</a> |
				<a href="/en/a/links.xhtml">Links</a> |
				<a href="/en/weblog/2017/07-July/11.xhtml.asc">{this page}.asc</a>
			</p>
			<hr/>
			<p>
				Weblog index:
				<a href="/en/weblog/"><abbr title="American Standard Code for Information Interchange">ASCII</abbr> calendars</a> |
				<a href="/en/weblog/index_ol_ascending.xhtml">Ascending list</a> |
				<a href="/en/weblog/index_ol_descending.xhtml">Descending list</a>
			</p>
			<hr/>
			<p>
				Jump to entry:
				<a href="/en/weblog/2015/03-March/07.xhtml">&lt;&lt;First</a>
				<a rel="prev" href="/en/weblog/2017/07-July/10.xhtml">&lt;Previous</a>
				<a rel="next" href="/en/weblog/2017/07-July/12.xhtml">Next&gt;</a>
				<a href="/en/weblog/latest.xhtml">Latest&gt;&gt;</a>
			</p>
			<hr/>
		</nav>
		<header>
			<h1>A potential host, an eye injury, and a catching-up</h1>
			<p>Day 00857: Tuesday, 2017 July 11</p>
		</header>
<img src="/img/CC_BY-SA_4.0/y.st./weblog/2017/07/11.jpg" alt="A cicada on a signpost" class="weblog-header-image" width="800" height="480" />
<section id="general">
	<h2>General news</h2>
	<p>
		Ellenor of <a href="irc://xopo4w4zpyw2u43n.onion:6697/">Umbrellix</a> has graciously offered to host my website!
		It sounds like the arrangement could be temporary, but it does buy me more time to seek a more-permanent solution.
		I&apos;m not sure when the transfer will go down, but Ellenor has said they&apos;ll set the server up to use Let&apos;s Encrypt.
		She buys into the automated certificate updating that I don&apos;t, so that will mean a hassle-free certificate for the next while.
		She also said I could use her server as an <abbr title="Internet Relay Chat">IRC</abbr> bouncer to get onto other networks, asking that I try not to get her banned from any network that uses a particular public blacklist.
		On principle, I don&apos;t visit networks that maliciously discriminate against <abbr title="The Onion Router">Tor</abbr> users, but the offer was a kind gesture.
	</p>
	<p>
		I whacked myself in the eye with my keys today.
		That wasn&apos;t fun.
		It&apos;s hard to tell for sure, but I think I see a small scratch on my lens now.
		Hopefully that heals up without issue, but it really hurt for a bit, and now the vision in my left eye is a little blurrier.
	</p>
	<p>
		My <a href="/a/canary.txt">canary</a> still sings the tune of freedom and transparency.
	</p>
</section>
<section id="mental">
	<h2>Mental health watch</h2>
	<p>
		I continue to show marked improvement.
		A couple days ago, I set up the microwave oven that my mother gave me, finally.
		After ... how many months?
		I&apos;ve sort of had a mental block with that thing, and haven&apos;t wanted to touch it.
		Today, I also found myself dancing in the kitchen, this time even without music.
		Since that one incident in which I wanted to die, I haven&apos;t actually had any severe, downward mood swings.
		I&apos;ve cried a little on occasion, but I&apos;m only sad for a short time and the sadness isn&apos;t in any way severe.
		That incident may have, in fact, been an isolated one.
		On the whole, I&apos;ve mostly floated around in the contented-to-happy range.
	</p>
</section>
<section id="university">
	<h2>University life</h2>
	<p>
		I finished my discussion assignment for the week:
	</p>
	<blockquote>
		<p>
			You make a good point about other methods that depend on <code>Object.equals()</code>.
			If you try to call <code>Array.contains()</code> or <code>Array.remove()</code>, it&apos;s not going to have the intended effect unless you&apos;ve defined a more-logical implementation of <code>Object.equals()</code>.
		</p>
	</blockquote>
	<blockquote>
		<p>
			The default implementation of <code>Object.equals()</code> doesn&apos;t perform a value-by-value comparison after performing a <code>==</code> test.
			The <code>==</code> test is the only check that it performs at all!
			This means that if two objects have all the same values, but they exist in different memory locations, <code>Object.equals()</code> will return <code>false</code>, not <code>true</code>.
			It&apos;s possible for a class to override this method, but when it does, it usually will skip the <code>==</code> test altogether.
			There simply isn&apos;t much reason to perform both tests.
		</p>
	</blockquote>
	<blockquote>
		<p>
			I like how in your example, you call the already-defined <code>String.equals()</code> method.
			If your dictionary entries are for the same word, simply comparing the two words could be a reasonable way to determine equivalence.
			The <code>try</code>/<code>catch</code> block was a great idea too.
			That way, you can compare dictionary entries to objects of any other class, but since they&apos;re not equivalent to objects of another class, the method just returns <code>false</code> if the typecast fails.
		</p>
	</blockquote>
	<p>
		In fact, I finished <strong>*everything*</strong> for the week.
		I&apos;m really glad I took today off from work and had someone cover today&apos;s shift.
		I&apos;ll submit my assignments tomorrow; I&apos;m too tired tonight.
		All the heavy-lifting is out of the way though.
	</p>
</section>
		<hr/>
		<p>
			Copyright © 2017 Alex Yst;
			You may modify and/or redistribute this document under the terms of the <a rel="license" href="/license/gpl-3.0-standalone.xhtml"><abbr title="GNU&apos;s Not Unix">GNU</abbr> <abbr title="General Public License version Three or later">GPLv3+</abbr></a>.
			If for some reason you would prefer to modify and/or distribute this document under other free copyleft terms, please ask me via email.
			My address is in the source comments near the top of this document.
			This license also applies to embedded content such as images.
			For more information on that, see <a href="/en/a/licensing.xhtml">licensing</a>.
		</p>
		<p>
			<abbr title="World Wide Web Consortium">W3C</abbr> standards are important.
			This document conforms to the <a href="https://validator.w3.org./nu/?doc=https%3A%2F%2Fy.st.%2Fen%2Fweblog%2F2017%2F07-July%2F11.xhtml"><abbr title="Extensible Hypertext Markup Language">XHTML</abbr> 5.1</a> specification and uses style sheets that conform to the <a href="http://jigsaw.w3.org./css-validator/validator?uri=https%3A%2F%2Fy.st.%2Fen%2Fweblog%2F2017%2F07-July%2F11.xhtml"><abbr title="Cascading Style Sheets">CSS</abbr>3</a> specification.
		</p>
	</body>
</html>

